Eclipse Platform
Pre-release 3.0

org.eclipse.ui.activities
Class CategoryEvent

java.lang.Object
  extended byorg.eclipse.ui.activities.CategoryEvent

public final class CategoryEvent
extends Object

An instance of this class describes changes to an instance of ICategory.

This class is not intended to be extended by clients.

EXPERIMENTAL

Since:
3.0
See Also:
ICategoryListener.categoryChanged(org.eclipse.ui.activities.CategoryEvent)

Constructor Summary
CategoryEvent(ICategory category, boolean categoryActivityBindingsChanged, boolean definedChanged, boolean nameChanged)
          Creates a new instance of this class.
 
Method Summary
 ICategory getCategory()
          Returns the instance of the interface that changed.
 boolean hasDefinedChanged()
          Returns whether or not the defined property changed.
 boolean hasNameChanged()
          Returns whether or not the name property changed.
 boolean haveCategoryActivityBindingsChanged()
          Returns whether or not the categoryActivityBindings property changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryEvent

public CategoryEvent(ICategory category,
                     boolean categoryActivityBindingsChanged,
                     boolean definedChanged,
                     boolean nameChanged)
Creates a new instance of this class.

Parameters:
category - the instance of the interface that changed.
categoryActivityBindingsChanged - true, iff the categoryActivityBindings property changed.
definedChanged - true, iff the defined property changed.
nameChanged - true, iff the name property changed.
Method Detail

getCategory

public ICategory getCategory()
Returns the instance of the interface that changed.

Returns:
the instance of the interface that changed. Guaranteed not to be null.

hasDefinedChanged

public boolean hasDefinedChanged()
Returns whether or not the defined property changed.

Returns:
true, iff the defined property changed.

hasNameChanged

public boolean hasNameChanged()
Returns whether or not the name property changed.

Returns:
true, iff the name property changed.

haveCategoryActivityBindingsChanged

public boolean haveCategoryActivityBindingsChanged()
Returns whether or not the categoryActivityBindings property changed.

Returns:
true, iff the categoryActivityBindings property changed.

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.